package com.huilian.iotbox.data.service.impl;

import com.huilian.iotbox.data.dao.LedgerOrderCommonDao;
import com.huilian.iotbox.data.po.LedgerOrder;
import com.huilian.iotbox.data.service.LedgerOrderCommonService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class LedgerOrderCommonServiceImpl implements LedgerOrderCommonService {

    @Autowired
    private LedgerOrderCommonDao ledgerOrderCommonDao;

    @Override
    public Integer inset(LedgerOrder ledgerOrder) {
        return ledgerOrderCommonDao.insert(ledgerOrder);
    }
}
